<?php

namespace IDock\Insurance\DBIC\Request;

use IDock\Insurance\DBIC\Request\AllDBICRequest;
use IDock\Insurance\DBIC\Response\NonCarProductListResponse;
use IDock\Visitor\NonCar\NonCarProductListVisitor;

class NonCarProductListRequest extends AllDBICRequest
{

    protected $urlTip = '非车产品列表';

    protected $route = 'dbic/ncs/process/getCarRelatedManPlan';

    protected $response = NonCarProductListResponse::class;

    /*** @var NonCarProductListVisitor $visitor */
    protected $visitor;

    public function generate(): array
    {
        return [
            'comCode' => $this->visitor->argc['comCode'],//机构代码
            'userCode' => 'I000000001',//用户代码
            'channelCode' => '4Q',//非车渠道代码，保司分配
        ];
    }
}
